import request from '@/utils/request'

export function queryProfit4gResultList(query) {
  return request({
    url: '/networkProfit/queryProfit4gResultList',
    method: 'get',
    params: query
  })
}

export function queryProfit5gResultList(query) {
  return request({
    url: '/networkProfit/queryProfit5gResultList',
    method: 'get',
    params: query
  })
}

export function calculateProfitResult() {
  return request({
    url: '/networkProfit/calculateProfitResult',
    method: 'get'
  })
}

export function detailList(param) {
  return request({
    // url: '/networkPerception/getDetailTableData',
    url: '/networkProfit/getDetailTableData',
    method: 'get',
    params: param
  })
}

export function querySceneInfluenceList(param) {
  return request({
    url: '/networkProfit/querySceneInfluenceList',
    method: 'get',
    params: param
  })
}

export function addSceneInfluence(data) {
  return request({
    url: '/networkProfit/addSceneInfluence',
    method: 'post',
    data: data
  })
}

export function deleteSceneInfluence(param) {
  return request({
    url: '/networkProfit/deleteSceneInfluence',
    method: 'get',
    params: param
  })
}

export function updateSceneInfluence(data) {
  return request({
    url: '/networkProfit/updateSceneInfluence',
    method: 'post',
    data: data
  })
}

export function queryProfitOverview() {
  return request({
    url: '/networkProfit/queryProfitOverview',
    method: 'get'
  })
}